/*
 * Copyright 2008-2023 dexian.vip. All rights reserved.
 * Support: http://www.dexian.vip
 * License: http://www.dexian.vip/license
 */

package vip.dexian.core.base.mapstruct;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Tree entity 忽略要拷贝的属性
 *
 * @author 挺好的 2023年06月01日 10:19
 */
@Retention (RetentionPolicy.CLASS)
@Mapping (target = "id", ignore = true)
@Mapping (target = "createDate", ignore = true)
@Mapping (target = "modifyDate", ignore = true)
@Mapping (target = "version", ignore = true)
@Mapping (target = "isValid", ignore = true)
@Mapping (target = "treePath", ignore = true)
@Mapping (target = "grade", ignore = true)
public @interface TreeEntityIgnore {

}

